package gejw.android.quickandroid.bmp;

import android.content.res.Resources;
import android.graphics.BitmapFactory;
import android.graphics.Point;

public class BmpUtils {

	public static Point getBmpSize(Resources res,int id){
		BitmapFactory.Options options = new BitmapFactory.Options();
		options.inJustDecodeBounds = true;
		BitmapFactory.decodeResource(res, id, options);
		return new Point(options.outWidth, options.outHeight);
	}
}
